* ********************************************************************************************
* The Effects of Weather Shocks on Economic Activity: What are the Channels of Impact?
* Sebastian Acevedo, Mico Mrkaic, Natalija Novta, Evgenia Pugacheva, Petia Topalova
* With support from Gavin Asdorian, Olivia Ma, Jilun Xing and Yuan Zeng 
* Replication files
* ********************************************************************************************

Please cite:
Sebastian Acevedo, Mico Mrkaic, Natalija Novta, Evgenia Pugacheva, Petia Topalova. 2020. "The Effects of Weather Shocks on Economic Activity: What are the Channels of Impact?" Journal of Macroeconomics.

For the list of underlying data sources and corresponding citations see the paper and Annex Table 1.


Replication codes are provided using Stata (version 14) ".do" files, with corresponding datasets in ".dta" files.

To run the codes: place the whole folder into your directory, modify the working directory (cd) at the top of the codes.


Datasets used in the regressions:
"country_dataset.dta" -- country-level dataset, used for Tables 1, 2, 3 and Figures 3, 5, 6, 7
"subnational_dataset.dta" -- region-level dataset, used for Table 4 and Figure 8


Datasets with temperature and precipitation from 1900s, for country- and region-levels, are provided in ".dta" and ".csv" (which can be opened in Excel) formats:
"temperature_precipitation" -- used for Figure 2
"temperature_precipitation_subnational"

Variable descriptions for ".csv" files:
precip_UDEL_pw10	UDEL: precipitation (100 mm), population-weighted (2010)
precip_UDEL_pw90	UDEL: precipitation (100 mm), population-weighted (1990)
precip_UDEL_pw50	UDEL: precipitation (100 mm), population-weighted (1950)
tmp_UDEL_pw10		UDEL: temperature (C), population-weighted (2010)
tmp_UDEL_pw90		UDEL: temperature (C), population-weighted (1990)
tmp_UDEL_pw50		UDEL: temperature (C), population-weighted (1950)
precip_CRU_pw10		CRU: precipitation (100 mm), population-weighted (2010)
precip_CRU_pw90		CRU: precipitation (100 mm), population-weighted (1990)
precip_CRU_pw50		CRU: precipitation (100 mm), population-weighted (1950)
tmp_CRU_pw10		CRU: temperature (C), population-weighted (2010)
tmp_CRU_pw90		CRU: temperature (C), population-weighted (1990)
tmp_CRU_pw50		CRU: temperature (C), population-weighted (1950)
ae			WEO: Advanced Economies
em			WEO: EMDEs excluding LICs
lics			WEO: Low-Income Countries
